package top.appx.vo;

import top.appx.entity.UserEntity;

import java.sql.Timestamp;

/**
 * Created by zwy on 2015-5-20.
 */
public class UserVO{
    private UserEntity entity;
    public UserVO(UserEntity entity){
        this.entity = entity;
    }

    public int getId() {
        return entity.getId();
    }

    public String getUsername() {
        return entity.getUsername();
    }

    public String getPassword() {
        return entity.getPassword();
    }

    public String getNickname() {
        return entity.getNickname();
    }

    public Integer getSex() {
        return entity.getSex();
    }

    public String getEmail() {
        return entity.getEmail();
    }

    public Timestamp getCreateTime() {
        return entity.getCreateTime();
    }

    public Integer getGroupId() {
        return entity.getGroupId();
    }
}
